home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / djgpp / include / x11 / resource.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-11  |  2.3 KB  |  68 lines

  1. /* $XConsortium: ResourceI.h,v 1.8 91/06/11 20:06:59 converse Exp $ */
  2.  
  3. /***********************************************************
  4. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  5. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  6.  
  7.                         All Rights Reserved
  8.  
  9. Permission to use, copy, modify, and distribute this software and its 
  10. documentation for any purpose and without fee is hereby granted, 
  11. provided that the above copyright notice appear in all copies and that
  12. both that copyright notice and this permission notice appear in 
  13. supporting documentation, and that the names of Digital or MIT not be
  14. used in advertising or publicity pertaining to distribution of the
  15. software without specific, written prior permission.  
  16.  
  17. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  18. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  19. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  20. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  22. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  23. SOFTWARE.
  24.  
  25. ******************************************************************/
  26.  
  27. /****************************************************************
  28.  *
  29.  * Resources
  30.  *
  31.  ****************************************************************/
  32.  
  33. #define StringToQuark(string) XrmStringToQuark(string)
  34. #define StringToName(string) XrmStringToName(string)
  35. #define StringToClass(string) XrmStringToClass(string)
  36.  
  37. typedef struct _XtTypedArg* XtTypedArgList;
  38.  
  39. extern void _XtResourceDependencies(
  40. #if NeedFunctionPrototypes
  41.     WidgetClass  /* wc */
  42. #endif
  43. );
  44.  
  45. extern void _XtConstraintResDependencies(
  46. #if NeedFunctionPrototypes
  47.     ConstraintWidgetClass  /* wc */
  48. #endif
  49. );
  50.  
  51. extern XtCacheRef* _XtGetResources(
  52. #if NeedFunctionPrototypes
  53.     Widget        /* w */,
  54.     ArgList        /* args */,
  55.     Cardinal        /* num_args */,
  56.     XtTypedArgList  /* typed_args */,
  57.     Cardinal*        /* num_typed_args */
  58. #endif
  59. );
  60.  
  61. extern void _XtCopyFromParent(
  62. #if NeedFunctionPrototypes
  63.     Widget        /* widget */,
  64.     int            /* offset */,
  65.     XrmValue*        /* value */
  66. #endif
  67. );
  68.